using System;
using System.Collections.Generic;

namespace ConsoleApplication2.Models
{
    public partial class request
    {
        public request()
        {
            this.OE_ORDER = new List<OE_ORDER>();
            this.req_tests = new List<req_tests>();
        }

        public int id { get; set; }
        public Nullable<System.DateTime> date { get; set; }
        public string physician { get; set; }
        public string pat_id { get; set; }
        public string descr { get; set; }
        public bool closed_req { get; set; }
        public bool closed_reply { get; set; }
        public string examiner { get; set; }
        public string time_col { get; set; }
        public byte req_type { get; set; }
        public string note { get; set; }
        public string admissionid { get; set; }
        public string File_Primary_Key { get; set; }
        public short currency { get; set; }
        public Nullable<decimal> total { get; set; }
        public int patpcode { get; set; }
        public int userid { get; set; }
        public string Bill_ { get; set; }
        public string Type { get; set; }
        public Nullable<int> Department { get; set; }
        public Nullable<int> OrderID { get; set; }
        public Nullable<bool> RQT_Abnormal { get; set; }
        public virtual admision admision { get; set; }
        public virtual currency currency1 { get; set; }
        public virtual Cust Cust { get; set; }
        public virtual Name Name { get; set; }
        public virtual ICollection<OE_ORDER> OE_ORDER { get; set; }
        public virtual PriceLst PriceLst { get; set; }
        public virtual ICollection<req_tests> req_tests { get; set; }
    }
}
